{php}$_temps = explode(PHP_EOL,\ebcms\Func::streol($field['config']['values']));{/php}
{foreach name='_temps' item='_temp'}{php}$_temp = explode("|",$_temp);{/php}
    <label class="checkbox-inline" for="{$field.unique}_{$key}">
        <input type="checkbox" id="{$field.unique}_{$key}" name="{$field.field}[]" value="{$_temp[1]}" {if condition="in_array($_temp['1'],(Array)$field['value'])"}checked{/if} {eq name="field.config.disabled" value='1'} disabled{/eq} {eq name='field.config.readonly' value='1'} readonly{/eq}> {$_temp[0]}
    </label>
{/foreach}